/*
 * lab11C.c
 *  getpid and getppid system calls
 */
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>

int main(int argc, char* argv[]){
   int id = 0;
   int parent = 0;
   id = getpid();
   parent = getppid();
   printf( "%s: process id is %d\n", argv[0], id );
   printf( "       Process id of parent is %d\n", parent );
   return 0;
}
